package com.DeBug_;

public class Exercise1 {
    public static void main(String[] args) {

        //1.断点调试看对象创建的过程
        Person person = new Person("大黄",9);
        System.out.println(person);

        //2.断点调试看动态绑定机制


    }
}


class Person{
    private String name;
    private int age;
    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

}